package com.checking.attendance.dao;

import com.checking.attendance.pojo.Clock;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface ClockMapper {
    int deleteByPrimaryKey(String id);

    int insert(Clock record);

    int insertSelective(Clock record);

    Clock selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Clock record);

    int updateByPrimaryKey(Clock record);


    Clock clockSelectDayAttendance(Clock record);

    List<Clock> queryClockRecord(Clock record);

    List<Clock> queryClockRecordAll();

    List<Clock> teacherQueryClockRecord(String courseId);

}